package com.amigo.online.provider.adv.common;

/**
 * @version: V1.0.0
 * @Description: （管理通用的全局变量）
 * @author: zxy  QQ:1363320658
 * @date: 2018年12月1日 下午4:35:48
 */
public class ConstantValue {

    /**
     * 用户性别
     */
    public static final String USER_MAN_SEX = "M";
    public static final String USER_WOMAN_SEX = "F";

    public static final String LANGUAGE_CHINA = "CN";
    public static final String LANGUAGE_ENGLIST = "EN";
    public static final String LANGUAGE_SPANISH = "SP";
    public static final String LANGUAGE_PORTUGUESE = "PT";

    public static final String LANGUAGE_CHINA_COLUMN = "chinese";
    public static final String LANGUAGE_ENGLIST_COLUMN = "english";
    public static final String LANGUAGE_SPANISH_COLUMN = "spanish";
    public static final String LANGUAGE_PORTUGUESE_COLUMN = "portuguese";

    /**
     * 广告部分Redis key
     * o online
     * u user
     * m mongo
     * a adv
     * r remaing
     * l look
     * <p>
     * ho home
     * tt tantan
     * nb nearby
     * re recommend
     * st stock
     * rn remaining number
     * tp type
     */
    public static final String ADV_REMAING_NUMBER = "o:a:r";

    public static final String ADV_USER_LOOKED_LIST = "o:a:u:l";

    public static final String ADV_HOME_LIST = "o:a:ho";

    public static final String ADV_HOME_TYPE_MAP = "o:a:ho:ty";

    public static final String ADV_TANTAN_LIST = "o:a:tt";

    public static final String ADV_NEARBY_LIST = "o:a:nb";

    public static final String ADV_RECOMMEND_LIST = "o:a:re";

    public static final String ADV_AREA_INFO = "o:a:a";

    public static final String ADV_HOME_STOCK = "o:a:ho:rn";

    public static final String ADV_TANTAN_STOCK = "o:a:tt:rn";

    public static final String ADV_NEARBY_STOCK = "o:a:nb:rn";

    public static final String ADV_RECOMMEND_STOCK = "o:a:re:rn";

    public static final int ADV_AREA_SIZE = 10;


}
